package com.tengju.data.domain.model.wx;

/**
 * @author: 李大仙
 * @date: 2021/11/10 3:35 下午
 */
public class WxRequestRecordFactory {

    public static WxRequestRecord create(WxRequestRecordType type, String before, String after) {
        return new WxRequestRecord(null,
                type,
                before,
                after,
                WxRequestRecordStatus.INIT);
    }

    public static WxRequestRecord createAfter(WxRequestRecordType type, String after) {
        return create(type, "", after);
    }

    public static WxRequestRecord createBefore(WxRequestRecordType type, String before) {
        return create(type, before, "");
    }
}
